package top.meeting.room.common.config;

import com.jfinal.config.Routes;
import top.meeting.room.common.controller.IndexController;
import top.meeting.room.module.book.controllers.BookController;
import top.meeting.room.module.system.controllers.ForceController;
import top.meeting.room.module.system.controllers.RoleController;
import top.meeting.room.module.system.controllers.UserController;

/**
 * 我有故事，你有酒么？
 * JKhaled created by yunqisong@foxmail.com 2017/7/20
 * FOR : 路由配置
 */
public class ConfigRouter extends Routes {
    @Override
    public void config() {
        add("/", IndexController.class);
        add("/force", ForceController.class);
        add("/user", UserController.class);
        add("/role", RoleController.class);
        add("/book", BookController.class);
    }
}
